package com.qf.event;

/*
 *  @author Administrator
 *  @version V1.0
 *  @Project smartdeviceplatgorm
 *  @Package com.qf.event
 *  @Description
 *  @Date2022/3/24 0024 17:22
 */

import com.qf.constants.DeviceStaus;

public class DevicePowerEvent {
    private String deviceId;//连接的设备编号
    private String ip;//设备连接的ip
    private DeviceStaus deviceStaus;

    public DevicePowerEvent(String deviceId, String ip, DeviceStaus deviceStaus) {
        this.deviceId = deviceId;
        this.ip = ip;
        this.deviceStaus = deviceStaus;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public DeviceStaus getDeviceStaus() {
        return deviceStaus;
    }

    public void setDeviceStaus(DeviceStaus deviceStaus) {
        this.deviceStaus = deviceStaus;
    }
}
